-- GENERATED SPELL FOR [Ellie Nightfeather] --


function spell0_32901(pUnit, Event) --@Wrath,n/a--
pUnit:FullCastSpellOnTarget(62793,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_32901', 1500, 1)
end

function Sorts_32901(pUnit, Event)
local choix_sorts_32901 = math.random(0, 0)
if choix_sorts_32901 == 0 then
pUnit:RegisterEvent('spell0_32901', 1, 1)
end
end

function mob32901_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_32901', math.random(1500, 3000), 1)
end

function mob32901_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32901_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32901_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(32901, 1, 'mob32901_Action')
RegisterUnitEvent(32901, 2, 'mob32901_Leave')
RegisterUnitEvent(32901, 3, 'mob32901_Kill')
RegisterUnitEvent(32901, 4, 'mob32901_Die')
